package com.jiulan.hearthearing.ui.heart.model;

import com.jiulan.hearthearing.base.BaseModel;

import java.util.List;

public class ClassifyModel extends BaseModel {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * cate_name : 基础心理学
         * child : [{"id":37,"cate_name":"自我认知"},{"id":36,"cate_name":"心理学与生活"},{"id":35,"cate_name":"行为心理学"},{"id":34,"cate_name":"焦虑"},{"id":33,"cate_name":"社会心理学"},{"id":32,"cate_name":"心理治愈"},{"id":31,"cate_name":"情绪管理"}]
         */

        private int id;
        private String cate_name;
        private List<ChildBean> child;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCate_name() {
            return cate_name;
        }

        public void setCate_name(String cate_name) {
            this.cate_name = cate_name;
        }

        public List<ChildBean> getChild() {
            return child;
        }

        public void setChild(List<ChildBean> child) {
            this.child = child;
        }

        public static class ChildBean {
            /**
             * id : 37
             * cate_name : 自我认知
             */

            private int id;
            private String cate_name;
            private boolean isCheck = false;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCate_name() {
                return cate_name;
            }

            public void setCate_name(String cate_name) {
                this.cate_name = cate_name;
            }

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }
        }
    }
}
